$OpenBSD: patch-OkularConfig_cmake,v 1.2 2013/10/15 07:59:25 zhuk Exp $
--- OkularConfig.cmake.orig	Fri Jun 28 21:37:20 2013
+++ OkularConfig.cmake	Mon Oct 14 22:57:13 2013
@@ -7,11 +7,11 @@ get_filename_component( _okularBaseDir  ${_okularBaseD
 
 # find the full paths to the library and the includes:
 find_path(OKULAR_INCLUDE_DIR okular/core/document.h
-          HINTS ${_okularBaseDir}/include
+          HINTS ${KDE4_INCLUDE_DIR} ${_okularBaseDir}/include
           NO_DEFAULT_PATH)
 
 find_library(OKULAR_CORE_LIBRARY okularcore 
-             HINTS ${_okularBaseDir}/lib
+             HINTS ${KDE4_LIB_DIR} ${_okularBaseDir}/lib
              NO_DEFAULT_PATH)
 
 set(OKULAR_LIBRARIES ${OKULAR_CORE_LIBRARY})
